package com.open.capacity.finance.dao;

import com.open.capacity.finance.entity.AuditModelWarnScope;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 模型告警人员范围配置
 *
 * @author
 * @email
 * @date 2023-02-16 16:06:50
 */
@Mapper
public interface AuditModelWarnScopeDao {

    int save(AuditModelWarnScope auditModelWarnScope);

    int update(AuditModelWarnScope auditModelWarnScope);

    int delete(String id);

    int deleteByModelId(String modelId);

    AuditModelWarnScope findById(String id);

    List<AuditModelWarnScope> findByModelId(String modelId);

    List<AuditModelWarnScope> findAll(Map<String, Object> params);

}
